[SPARK-12346] [ML] Missing attribute names in GLM for vector-type features#10323
Closed
ericl wants to merge 2 commits intoapache:masterfrom
Closed
[SPARK-12346] [ML] Missing attribute names in GLM for vector-type features#10323ericl wants to merge 2 commits intoapache:masterfrom
ericl wants to merge 2 commits intoapache:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Should we support term in R formula is type vector? I think it's illegal in R.
Contributor
Author
There was a problem hiding this comment.
I think it makes sense when using RFormula in a ML pipeline (not necessarily in R).
|
Test build #47806 has finished for PR 10323 at commit
|
Contributor
|
@ericl this looks great, thanks! |
asfgit
pushed a commit
that referenced
this pull request
Jan 18, 2016
…ures Currently `summary()` fails on a GLM model fitted over a vector feature missing ML attrs, since the output feature attrs will also have no name. We can avoid this situation by forcing `VectorAssembler` to make up suitable names when inputs are missing names. cc mengxr Author: Eric Liang <ekl@databricks.com> Closes #10323 from ericl/spark-12346. (cherry picked from commit 5e492e9) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Contributor
|
Merged into master and branch-1.6. Thanks! I created https://issues.apache.org/jira/browse/SPARK-12886 to track some follow-up tasks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently
summary()fails on a GLM model fitted over a vector feature missing ML attrs, since the output feature attrs will also have no name. We can avoid this situation by forcingVectorAssemblerto make up suitable names when inputs are missing names.cc @mengxr